package com.title5;

/**
 * @Author milian
 * @Date 2021/8/6 0006 20:42
 */
public class title5 {
    public static void main(String[] args) {
        Thread thread1 = new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println("播放背景音乐");
            }
        });
        Thread thread2 = new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println("显示画面");
            }
        });
        thread1.start();
        thread2.start();
    }
}
